{:W('Nav',array('name'=>'添加分类'))}
<div class="main-div">
    <form action="{:U(GROUP_NAME.'/Category/runAddCate')}" method="post" name="theForm" enctype="multipart/form-data" onsubmit="return validate()">
        <table width="100%" id="general-table">
            <tr>
                <td class="label">分类名称:</td>
                <td>
                    <input type='text' name='cate_name' maxlength="20" value='' size='27'/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">上级分类:</td>
                <td>
                    <select name="parent_id">
                        <option value="0">顶级分类</option>
                        {$cate}
                    </select>
                </td>
            </tr>
            <tr>
                <td class="label">排序:</td>
                <td>
                    <input type="text" id="sort_order" name="sort" value="50" size="15"/>
                </td>
            </tr>

            <tr>
                <td class="label">是否显示:</td>
                <td>
                    <input type="radio" name="is_show" value="1" checked="true"/> 是 <input type="radio" name="is_show" value="0"/> 否
                </td>
            </tr>
            <tr>
                <td class="label">是否显示在导航栏:</td>
                <td>
                    <input type="radio" name="is_nav" value="1"/> 是 <input type="radio" name="is_nav" value="0" checked="true"/> 否
                </td>
            </tr>
        </table>
        <div class="button-div">
            <input type="submit" value=" 确定 "/>
            <input type="reset" value=" 重置 "/>
        </div>
    </form>
</div>
</body>
</html>